//
//  DCDownloadManager.h
//  DCDownloadOpration
//
//  Created by collegepre on 16/8/9.
//  Copyright © 2016年 Wade. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "DCDownload.h"
#import "CPDownloadInfo.h"


typedef void(^DCDownloadProgressBlock)(NSInteger currentLength,NSInteger totalLength);
typedef void(^DCDownloadComplitonBlock)(NSError *error);
@interface DCDownloadManager : NSObject
/**
 *   下载进度的Block
 */
@property (copy,nonatomic) DCDownloadProgressBlock progressBlock;

/**
 *  完成回调的Block
 */
@property (copy,nonatomic) DCDownloadComplitonBlock complitionBlock;

/**
 *  下载信息的对象信息
 */
@property (nonatomic, strong) CPDownloadInfo *downloadInfo;




@end
